Skip to content

Fix tar wheel hardlink RECORD sizes - #198

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt200/126-tar-wheel-hardlink-size
Closed

zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt200/126-tar-wheel-hardlink-size

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 14, 2026 •

Copy link
Copy Markdown
Owner

Tar-wheel file enumeration does not resolve hardlink target sizes, so RECORD healing emits a zero size for a hardlinked file. Use the target's metadata when generating the installed record and enumerate only successfully unpacked entries, preserving the traversal containment fixed in uv#20429. This completes the tar-wheel enumeration introduced for healing in uv#18943 and consolidated in uv#19144.

Moved to: astral-sh/uv-dev#179.

@zaniebot
zaniebot force-pushed the zb/bughunt200/126-tar-wheel-hardlink-size branch from 7857cbe to 2d12c4c Compare July 15, 2026 17:41
@zaniebot zaniebot closed this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants